﻿using System;
using System.Runtime.Serialization;

namespace ModelLayer
{
    [DataContract]
    public class PartReservation
    {
        public PartReservation(long id, int count, DateTime pickupDate, Station station)
        {
            Id = id;
            Count = count;
            PickupDate = pickupDate;
            Station = station;
        }

        public PartReservation()
        {
        }

        [DataMember]
        public long Id
        {
            get;
            set;
        }

        [DataMember]
        public int Count
        {
            get;
            set;
        }

        [DataMember]
        public DateTime PickupDate
        {
            get;
            set;
        }

        [DataMember]
        public Station Station
        {
            get;
            set;
        }
    }
}